package cn.zbacm.api.user.repository;

import cn.zbacm.api.user.entity.UserRole;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleRepository extends PagingAndSortingRepository<UserRole, Integer> {
  List<UserRole> findByUserId(int id);
}
